package jumpingnotes.dao;

import java.util.List;

import jumpingnotes.model.entity.Member;

public interface MemberDao extends GenericDao<Member>
{
	List<Member> findMemberByGroupId(int groupId, int firstResult, int maxResults);

	Member findMemberByEmail(String email);

	List<Member> findMemberByFriendMemberId(int memberId, int firstResult, int maxResults);
	
	int countMemberByFavoriteBook(int bookId);

	void indexMember();

	List<Member> searchMember(String keyword, int firstResult, int maxResults);
}
